home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CDEF_0_3D Buttons.txt < prev    next >
Text File  |  1995-09-30  |  74KB  |  1,359 lines

  1. start:
  2. 00000000  4E56 FFBE                link       A6, -0x0042
  3. 00000004  42AE FFCA                clr.l      [A6 - 0x36]
  4. 00000008  6000 0084                bra        +0x86 /* 0000008E */
  5. 0000000C  3344 2042                move.w     [A1 + 0x2042], D4
  6. 00000010  7574                     moveq.l    D2, 0x74
  7. 00000012  746F                     moveq.l    D2, 0x6F
  8. 00000014  6E20                     bgt        +0x22 /* 00000036 */
  9. 00000016  7631                     moveq.l    D3, 0x31
  10. 00000018  2E34 2066                move.l     D7, [A4 + D2.w + 0x66]
  11. 0000001C  6F72                     ble        +0x74 /* 00000090 */
  12. 0000001E  2051                     movea.l    A0, [A1]
  13. 00000020  7569                     moveq.l    D2, 0x69
  14. 00000022  636B                     bls        +0x6D /* 0000008F */
  15. 00000024  4865                     pea.l      -[A5]
  16. 00000026  6C70                     bge        +0x72 /* 00000098 */
  17. 00000028  AA2F                     syscall    NewGDevice
  18. 0000002A  5175 6963 6B56 6965 77AA subq.w     [[A5 + 0x6B56] + 0x696577AA], 8
  19. 00000034  2062                     movea.l    A0, -[A2]
  20. label00000036:
  21. 00000036  7920                     moveq.l    D4, 0x20
  22. 00000038  4A6F 7264                tst.w      [A7 + 0x7264]
  23. 0000003C  616E                     bsr        +0x70 /* 000000AC */
  24. 0000003E  205A                     movea.l    A0, [A2]+
  25. 00000040  696D                     bvs        +0x6F /* 000000AF */
  26. 00000042  6D65                     blt        +0x67 /* 000000A9 */
  27. 00000044  726D                     moveq.l    D1, 0x6D
  28. 00000046  616E                     bsr        +0x70 /* 000000B6 */
  29. 00000048  20A5                     move.l     [A0], -[A5]
  30. 0000004A  2028 6329                move.l     D0, [A0 + 0x6329]
  31. 0000004E  3139 3933 2C39           move.w     -[A0], [0x39332C39]
  32. 00000054  3420                     move.w     D2, -[A0]
  33. 00000056  6279                     bhi        +0x7B /* 000000D1 */
  34. 00000058  2041                     movea.l    A0, D1
  35. 0000005A  6C74                     bge        +0x76 /* 000000D0 */
  36. 0000005C  7572                     moveq.l    D2, 0x72
  37. 0000005E  6120                     bsr        +0x22 /* 00000080 */
  38. 00000060  536F 6674                subq.w     [A7 + 0x6674], 1
  39. 00000064  7761                     moveq.l    D3, 0x61
  40. 00000066  7265                     moveq.l    D1, 0x65
  41. 00000068  2C20                     move.l     D6, -[A0]
  42. 0000006A  496E 632E                chk.w      D4, [A6 + 0x632E]
  43. 0000006E  2020                     move.l     D0, -[A0]
  44. 00000070  416C 6C20                chk.w      D0, [A4 + 0x6C20]
  45. 00000074  7269                     moveq.l    D1, 0x69
  46. 00000076  6768                     beq        +0x6A /* 000000E0 */
  47. 00000078  7473                     moveq.l    D2, 0x73
  48. 0000007A  2072 6573 6572 7665 6420 776F movea.l    A0, [[A2 + 0x65727665] + 0x6420776F]
  49. // begin alternate branch 00000080-00000086
  50. fn00000080:
  51. 00000080  7665                     moveq.l    D3, 0x65
  52. 00000082  6420                     bcc        +0x22 /* 000000A4 */
  53. 00000084  776F                     moveq.l    D3, 0x6F
  54. // end alternate branch 00000080-00000086
  55. fn00000080: // (misaligned)
  56. 00000086  726C                     moveq.l    D1, 0x6C
  57. 00000088  6477                     bcc        +0x79 /* 00000101 */
  58. 0000008A  6964                     bvs        +0x66 /* 000000F0 */
  59. 0000008C  652E                     bcs        +0x30 /* 000000BC */
  60. label0000008E:
  61. 0000008E  42A7                     clr.l      -[A7]
  62. label00000090:
  63. 00000090  A8D8                     syscall    NewRgn
  64. 00000092  2D5F FFD6                move.l     [A6 - 0x2A], [A7]+
  65. 00000096  6608                     bne        +0xA /* 000000A0 */
  66. label00000098:
  67. 00000098  42AE 0014                clr.l      [A6 + 0x14]
  68. 0000009C  6000 021C                bra        +0x21E /* 000002BA */
  69. label000000A0:
  70. 000000A0  42A7                     clr.l      -[A7]
  71. 000000A2  A8D8                     syscall    NewRgn
  72. label000000A4:
  73. 000000A4  2D5F FFDA                move.l     [A6 - 0x26], [A7]+
  74. 000000A8  660E                     bne        +0x10 /* 000000B8 */
  75. 000000AA  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  76. // begin alternate branch 000000AC-000000AE
  77. fn000000AC:
  78. 000000AC  FFD6                     .extension 0xFD6 // unimplemented
  79. // end alternate branch 000000AC-000000AE
  80. fn000000AC: // (misaligned)
  81. 000000AE  A8D9                     syscall    DisposRgn/DisposeRgn
  82. 000000B0  42AE 0014                clr.l      [A6 + 0x14]
  83. 000000B4  6000 0204                bra        +0x206 /* 000002BA */
  84. // begin alternate branch 000000B6-000000BC
  85. fn000000B6:
  86. 000000B6  0204 486E                andi.b     D4, 0x6E /* 'n' */
  87. label000000B8: // (misaligned)
  88. 000000BA  FFCE                     .extension 0xFCE // unimplemented
  89. // end alternate branch 000000B6-000000BC
  90. fn000000B6: // (misaligned)
  91. label000000B8:
  92. 000000B8  486E FFCE                pea.l      [A6 - 0x32]
  93. label000000BC:
  94. 000000BC  A874                     syscall    GetPort
  95. 000000BE  486E FFEA                pea.l      [A6 - 0x16]
  96. 000000C2  A898                     syscall    GetPenState
  97. 000000C4  206E FFCE                movea.l    A0, [A6 - 0x32]
  98. 000000C8  3D68 0044 FFC6           move.w     [A6 - 0x3A], [A0 + 0x44]
  99. 000000CE  3D68 004A FFC4           move.w     [A6 - 0x3C], [A0 + 0x4A]
  100. // begin alternate branch 000000D0-000000D4
  101. label000000D0:
  102. 000000D0  004A FFC4                ori.w      A2, 0xFFC4
  103. // end alternate branch 000000D0-000000D4
  104. label000000D0: // (misaligned)
  105. 000000D4  7000                     moveq.l    D0, 0x00
  106. 000000D6  1028 0046                move.b     D0, [A0 + 0x46]
  107. 000000DA  3D40 FFC2                move.w     [A6 - 0x3E], D0
  108. 000000DE  3D68 0048 FFC0           move.w     [A6 - 0x40], [A0 + 0x48]
  109. // begin alternate branch 000000E0-000000E4
  110. label000000E0:
  111. 000000E0  0048 FFC0                ori.w      A0, 0xFFC0
  112. // end alternate branch 000000E0-000000E4
  113. label000000E0: // (misaligned)
  114. 000000E4  4267                     clr.w      -[A7]
  115. 000000E6  3EB8 028E                move.w     [A7], [0x0000028E /* ROM85 */]
  116. 000000EA  0C5F 3FFF                cmpi.w     [A7]+, 0x3FFF
  117. 000000EE  57C0                     seq        D0
  118. label000000F0:
  119. 000000F0  4400                     neg.b      D0
  120. 000000F2  4880                     ext.w      D0
  121. 000000F4  3D40 FFC8                move.w     [A6 - 0x38], D0
  122. 000000F8  670C                     beq        +0xE /* 00000106 */
  123. 000000FA  486E FFE4                pea.l      [A6 - 0x1C]
  124. 000000FE  AA19                     syscall    GetForeColor
  125. 00000100  486E FFDE                pea.l      [A6 - 0x22]
  126. 00000104  AA1A                     syscall    GetBackColor
  127. label00000106:
  128. 00000106  4878 0021                push.l     0x21 /* '!' */
  129. 0000010A  A862                     syscall    ForeColor
  130. 0000010C  4878 001E                push.l     0x1E
  131. 00000110  A863                     syscall    BackColor
  132. 00000112  082E 0003 0013           btst.b     [A6 + 0x13], 0x3
  133. 00000118  6610                     bne        +0x12 /* 0000012A */
  134. 0000011A  4267                     clr.w      -[A7]
  135. 0000011C  A887                     syscall    TextFont
  136. 0000011E  3F3C 000C                move.w     -[A7], 0xC
  137. 00000122  A88A                     syscall    TextSize
  138. 00000124  4267                     clr.w      -[A7]
  139. 00000126  A888                     syscall    TextFace
  140. 00000128  6006                     bra        +0x8 /* 00000130 */
  141. label0000012A:
  142. 0000012A  026E FFF7 0012           andi.w     [A6 + 0x12], 0xFFF7
  143. label00000130:
  144. 00000130  3F3C 0001                move.w     -[A7], 0x1
  145. 00000134  A889                     syscall    TextMode
  146. 00000136  A89E                     syscall    PenNormal
  147. 00000138  206E 000E                movea.l    A0, [A6 + 0xE]
  148. 0000013C  A069                     syscall    HGetState
  149. 0000013E  1D40 FFBF                move.b     [A6 - 0x41], D0
  150. 00000142  206E 000E                movea.l    A0, [A6 + 0xE]
  151. 00000146  A029                     syscall    HLock
  152. 00000148  206E 000E                movea.l    A0, [A6 + 0xE]
  153. 0000014C  2D50 FFD2                move.l     [A6 - 0x2E], [A0]
  154. 00000150  2F2E FFDA                move.l     -[A7], [A6 - 0x26]
  155. 00000154  A87A                     syscall    GetClip
  156. 00000156  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  157. 0000015A  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  158. 0000015E  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  159. 00000162  4EBA 0192                jsr        [PC + 0x192 /* 000002F6 */]
  160. 00000166  4FEF 000A                lea.l      A7, [A7 + 0xA]
  161. 0000016A  2F2E FFDA                move.l     -[A7], [A6 - 0x26]
  162. 0000016E  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  163. 00000172  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  164. 00000176  A8E4                     syscall    SectRgn
  165. 00000178  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  166. 0000017C  A879                     syscall    SetClip
  167. 0000017E  302E 000C                move.w     D0, [A6 + 0xC]
  168. 00000182  6700 0086                beq        +0x88 /* 0000020A */
  169. 00000186  6B00 00E0                bmi        +0xE2 /* 00000268 */
  170. 0000018A  0440 000A                subi.w     D0, 0xA /* '\n' */
  171. 0000018E  6724                     beq        +0x26 /* 000001B4 */
  172. 00000190  6A0C                     bpl        +0xE /* 0000019E */
  173. 00000192  5040                     addq.w     D0, 8
  174. 00000194  673C                     beq        +0x3E /* 000001D2 */
  175. 00000196  6A00 00D0                bpl        +0xD2 /* 00000268 */
  176. 0000019A  6000 0092                bra        +0x94 /* 0000022E */
  177. label0000019E:
  178. 0000019E  5540                     subq.w     D0, 2
  179. 000001A0  6A00 00C6                bpl        +0xC8 /* 00000268 */
  180. 000001A4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  181. 000001A8  A8DD                     syscall    SetEmptyRgn
  182. 000001AA  7001                     moveq.l    D0, 0x01
  183. 000001AC  2D40 FFCA                move.l     [A6 - 0x36], D0
  184. 000001B0  6000 00B6                bra        +0xB8 /* 00000268 */
  185. label000001B4:
  186. 000001B4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  187. 000001B8  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  188. 000001BC  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  189. 000001C0  4EBA 0134                jsr        [PC + 0x134 /* 000002F6 */]
  190. 000001C4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  191. 000001C8  7001                     moveq.l    D0, 0x01
  192. 000001CA  2D40 FFCA                move.l     [A6 - 0x36], D0
  193. 000001CE  6000 0098                bra        +0x9A /* 00000268 */
  194. label000001D2:
  195. 000001D2  42A7                     clr.l      -[A7]
  196. 000001D4  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  197. 000001D8  4EBA 0BD0                jsr        [PC + 0xBD0 /* 00000DAA */]
  198. 000001DC  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  199. 000001E0  202E 0008                move.l     D0, [A6 + 0x8]
  200. 000001E4  0280 0000 F000           andi.l     D0, 0xF000
  201. 000001EA  6708                     beq        +0xA /* 000001F4 */
  202. 000001EC  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  203. 000001F0  A8DD                     syscall    SetEmptyRgn
  204. 000001F2  6074                     bra        +0x76 /* 00000268 */
  205. label000001F4:
  206. 000001F4  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  207. 000001F8  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  208. 000001FC  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  209. 00000200  4EBA 00F4                jsr        [PC + 0xF4 /* 000002F6 */]
  210. 00000204  4FEF 000A                lea.l      A7, [A7 + 0xA]
  211. 00000208  605E                     bra        +0x60 /* 00000268 */
  212. label0000020A:
  213. 0000020A  206E FFD2                movea.l    A0, [A6 - 0x2E]
  214. 0000020E  4A28 0010                tst.b      [A0 + 0x10]
  215. 00000212  6754                     beq        +0x56 /* 00000268 */
  216. 00000214  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  217. 00000218  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  218. 0000021C  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  219. 00000220  2F2E FFD2                move.l     -[A7], [A6 - 0x2E]
  220. 00000224  4EBA 01C8                jsr        [PC + 0x1C8 /* 000003EE */]
  221. 00000228  4FEF 000C                lea.l      A7, [A7 + 0xC]
  222. 0000022C  603A                     bra        +0x3C /* 00000268 */
  223. label0000022E:
  224. 0000022E  206E FFD2                movea.l    A0, [A6 - 0x2E]
  225. 00000232  0C28 00FE 0011           cmpi.b     [A0 + 0x11], 0xFE
  226. 00000238  642E                     bcc        +0x30 /* 00000268 */
  227. 0000023A  4227                     clr.b      -[A7]
  228. 0000023C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  229. 00000240  206E FFD2                movea.l    A0, [A6 - 0x2E]
  230. 00000244  4868 0008                pea.l      [A0 + 0x8]
  231. 00000248  A8AD                     syscall    PtInRect
  232. 0000024A  4A1F                     tst.b      [A7]+
  233. 0000024C  671A                     beq        +0x1C /* 00000268 */
  234. 0000024E  302E 0012                move.w     D0, [A6 + 0x12]
  235. 00000252  6706                     beq        +0x8 /* 0000025A */
  236. 00000254  6B04                     bmi        +0x6 /* 0000025A */
  237. 00000256  5740                     subq.w     D0, 3
  238. 00000258  6B08                     bmi        +0xA /* 00000262 */
  239. label0000025A:
  240. 0000025A  700A                     moveq.l    D0, 0x0A
  241. 0000025C  2D40 FFCA                move.l     [A6 - 0x36], D0
  242. 00000260  6006                     bra        +0x8 /* 00000268 */
  243. label00000262:
  244. 00000262  700B                     moveq.l    D0, 0x0B
  245. 00000264  2D40 FFCA                move.l     [A6 - 0x36], D0
  246. label00000268:
  247. 00000268  102E FFBF                move.b     D0, [A6 - 0x41]
  248. 0000026C  206E 000E                movea.l    A0, [A6 + 0xE]
  249. 00000270  A06A                     syscall    HSetState
  250. 00000272  2F2E FFDA                move.l     -[A7], [A6 - 0x26]
  251. 00000276  A879                     syscall    SetClip
  252. 00000278  2F2E FFDA                move.l     -[A7], [A6 - 0x26]
  253. 0000027C  A8D9                     syscall    DisposRgn/DisposeRgn
  254. 0000027E  2F2E FFD6                move.l     -[A7], [A6 - 0x2A]
  255. 00000282  A8D9                     syscall    DisposRgn/DisposeRgn
  256. 00000284  3F2E FFC6                move.w     -[A7], [A6 - 0x3A]
  257. 00000288  A887                     syscall    TextFont
  258. 0000028A  3F2E FFC4                move.w     -[A7], [A6 - 0x3C]
  259. 0000028E  A88A                     syscall    TextSize
  260. 00000290  3F2E FFC2                move.w     -[A7], [A6 - 0x3E]
  261. 00000294  A888                     syscall    TextFace
  262. 00000296  3F2E FFC0                move.w     -[A7], [A6 - 0x40]
  263. 0000029A  A889                     syscall    TextMode
  264. 0000029C  486E FFEA                pea.l      [A6 - 0x16]
  265. 000002A0  A899                     syscall    SetPenState
  266. 000002A2  4A6E FFC8                tst.w      [A6 - 0x38]
  267. 000002A6  670C                     beq        +0xE /* 000002B4 */
  268. 000002A8  486E FFE4                pea.l      [A6 - 0x1C]
  269. 000002AC  AA14                     syscall    RGBForeColor
  270. 000002AE  486E FFDE                pea.l      [A6 - 0x22]
  271. 000002B2  AA15                     syscall    RGBBackColor
  272. label000002B4:
  273. 000002B4  2D6E FFCA 0014           move.l     [A6 + 0x14], [A6 - 0x36]
  274. label000002BA:
  275. 000002BA  4E5E                     unlink     A6
  276. 000002BC  205F                     movea.l    A0, [A7]+
  277. 000002BE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  278. 000002C2  4ED0                     jmp        [A0]
  279. fn000002C4:
  280. 000002C4  4E56 0000                link       A6, 0
  281. 000002C8  2F07                     move.l     -[A7], D7
  282. 000002CA  206E 0008                movea.l    A0, [A6 + 0x8]
  283. 000002CE  3E28 0004                move.w     D7, [A0 + 0x4]
  284. 000002D2  9E50                     sub.w      D7, [A0]
  285. 000002D4  2007                     move.l     D0, D7
  286. 000002D6  48C0                     ext.l      D0
  287. 000002D8  81FC 0002                divs.w     D0, 0x2
  288. 000002DC  4840                     swap.w     D0
  289. 000002DE  4A40                     tst.w      D0
  290. 000002E0  56C0                     sne        D0
  291. 000002E2  4400                     neg.b      D0
  292. 000002E4  4880                     ext.w      D0
  293. 000002E6  2207                     move.l     D1, D7
  294. 000002E8  48C1                     ext.l      D1
  295. 000002EA  83FC 0002                divs.w     D1, 0x2
  296. 000002EE  D041                     add.w      D0, D1
  297. 000002F0  2E1F                     move.l     D7, [A7]+
  298. 000002F2  4E5E                     unlink     A6
  299. 000002F4  4E75                     rts
  300. fn000002F6:
  301. 000002F6  4E56 FFFC                link       A6, -0x0004
  302. 000002FA  2F07                     move.l     -[A7], D7
  303. 000002FC  4A6E 000C                tst.w      [A6 + 0xC]
  304. 00000300  6708                     beq        +0xA /* 0000030A */
  305. 00000302  0C6E 0007 000C           cmpi.w     [A6 + 0xC], 0x7
  306. 00000308  6626                     bne        +0x28 /* 00000330 */
  307. label0000030A:
  308. 0000030A  206E 0008                movea.l    A0, [A6 + 0x8]
  309. 0000030E  4868 0008                pea.l      [A0 + 0x8]
  310. 00000312  4EBA FFB0                jsr        [PC - 0x50 /* 000002C4 */]
  311. 00000316  3E00                     move.w     D7, D0
  312. 00000318  A8DA                     syscall    OpenRgn
  313. 0000031A  206E 0008                movea.l    A0, [A6 + 0x8]
  314. 0000031E  4868 0008                pea.l      [A0 + 0x8]
  315. 00000322  3F07                     move.w     -[A7], D7
  316. 00000324  3F07                     move.w     -[A7], D7
  317. 00000326  A8B0                     syscall    FrameRoundRect
  318. 00000328  2EAE 000E                move.l     [A7], [A6 + 0xE]
  319. 0000032C  A8DB                     syscall    CloseRgn
  320. 0000032E  600E                     bra        +0x10 /* 0000033E */
  321. label00000330:
  322. 00000330  2F2E 000E                move.l     -[A7], [A6 + 0xE]
  323. 00000334  206E 0008                movea.l    A0, [A6 + 0x8]
  324. 00000338  4868 0008                pea.l      [A0 + 0x8]
  325. 0000033C  A8DF                     syscall    RectRgn
  326. label0000033E:
  327. 0000033E  2E1F                     move.l     D7, [A7]+
  328. 00000340  4E5E                     unlink     A6
  329. 00000342  4E75                     rts
  330. fn00000344:
  331. 00000344  4E56 FFFC                link       A6, -0x0004
  332. 00000348  48E7 0300                movem.l    -[A7], D6,D7
  333. 0000034C  3C2E 0008                move.w     D6, [A6 + 0x8]
  334. 00000350  3F06                     move.w     -[A7], D6
  335. 00000352  4EBA 0080                jsr        [PC + 0x80 /* 000003D4 */]
  336. 00000356  1E00                     move.b     D7, D0
  337. 00000358  4880                     ext.w      D0
  338. 0000035A  5340                     subq.w     D0, 1
  339. 0000035C  548F                     addq.l     A7, 2
  340. 0000035E  6604                     bne        +0x6 /* 00000364 */
  341. 00000360  0246 07FF                andi.w     D6, 0x7FF
  342. label00000364:
  343. 00000364  4EBA 0038                jsr        [PC + 0x38 /* 0000039E */]
  344. 00000368  B046                     cmp.w      D0, D6
  345. 0000036A  6E04                     bgt        +0x6 /* 00000370 */
  346. 0000036C  7000                     moveq.l    D0, 0x00
  347. 0000036E  6026                     bra        +0x28 /* 00000396 */
  348. label00000370:
  349. 00000370  42A7                     clr.l      -[A7]
  350. 00000372  3F06                     move.w     -[A7], D6
  351. 00000374  1F07                     move.b     -[A7], D7
  352. 00000376  4EBA 0A1E                jsr        [PC + 0xA1E /* 00000D96 */]
  353. 0000037A  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  354. 0000037E  42A7                     clr.l      -[A7]
  355. 00000380  2F3C 0100 A89F           move.l     -[A7], 0x100A89F
  356. 00000386  4EBA 0A0E                jsr        [PC + 0xA0E /* 00000D96 */]
  357. 0000038A  202E FFFC                move.l     D0, [A6 - 0x4]
  358. 0000038E  B09F                     cmp.l      D0, [A7]+
  359. 00000390  56C0                     sne        D0
  360. 00000392  4400                     neg.b      D0
  361. 00000394  4880                     ext.w      D0
  362. label00000396:
  363. 00000396  4CDF 00C0                movem.l    D6,D7, [A7]+
  364. 0000039A  4E5E                     unlink     A6
  365. 0000039C  4E75                     rts
  366. fn0000039E:
  367. 0000039E  4E56 FFFC                link       A6, -0x0004
  368. 000003A2  42A7                     clr.l      -[A7]
  369. 000003A4  2F3C 0100 A86E           move.l     -[A7], 0x100A86E
  370. 000003AA  4EBA 09EA                jsr        [PC + 0x9EA /* 00000D96 */]
  371. 000003AE  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  372. 000003B2  42A7                     clr.l      -[A7]
  373. 000003B4  2F3C 0100 AA6E           move.l     -[A7], 0x100AA6E
  374. 000003BA  4EBA 09DA                jsr        [PC + 0x9DA /* 00000D96 */]
  375. 000003BE  202E FFFC                move.l     D0, [A6 - 0x4]
  376. 000003C2  B09F                     cmp.l      D0, [A7]+
  377. 000003C4  6606                     bne        +0x8 /* 000003CC */
  378. 000003C6  303C 0200                move.w     D0, 0x200
  379. 000003CA  6004                     bra        +0x6 /* 000003D0 */
  380. label000003CC:
  381. 000003CC  303C 0400                move.w     D0, 0x400
  382. label000003D0:
  383. 000003D0  4E5E                     unlink     A6
  384. 000003D2  4E75                     rts
  385. fn000003D4:
  386. 000003D4  4E56 0000                link       A6, 0
  387. 000003D8  302E 0008                move.w     D0, [A6 + 0x8]
  388. 000003DC  0240 0800                andi.w     D0, 0x800
  389. 000003E0  4A40                     tst.w      D0
  390. 000003E2  6F04                     ble        +0x6 /* 000003E8 */
  391. 000003E4  7001                     moveq.l    D0, 0x01
  392. 000003E6  6002                     bra        +0x4 /* 000003EA */
  393. label000003E8:
  394. 000003E8  7000                     moveq.l    D0, 0x00
  395. label000003EA:
  396. 000003EA  4E5E                     unlink     A6
  397. 000003EC  4E75                     rts
  398. fn000003EE:
  399. 000003EE  4E56 FFF0                link       A6, -0x0010
  400. 000003F2  2D6E 0008 FFF4           move.l     [A6 - 0xC], [A6 + 0x8]
  401. 000003F8  3D6E 0010 FFFC           move.w     [A6 - 0x4], [A6 + 0x10]
  402. 000003FE  3D6E 0012 FFFE           move.w     [A6 - 0x2], [A6 + 0x12]
  403. 00000404  302E 0010                move.w     D0, [A6 + 0x10]
  404. 00000408  6708                     beq        +0xA /* 00000412 */
  405. 0000040A  6B06                     bmi        +0x8 /* 00000412 */
  406. 0000040C  5540                     subq.w     D0, 2
  407. 0000040E  6716                     beq        +0x18 /* 00000426 */
  408. 00000410  6B0A                     bmi        +0xC /* 0000041C */
  409. label00000412:
  410. 00000412  41FA 00B8                lea.l      A0, [PC + 0xB8 /* 000004CC, value 0x4E560000 'NV\0\0' */]
  411. 00000416  2D48 FFF8                move.l     [A6 - 0x8], A0
  412. 0000041A  6012                     bra        +0x14 /* 0000042E */
  413. label0000041C:
  414. 0000041C  41FA 0166                lea.l      A0, [PC + 0x166 /* 00000584, value 0x4E56FFF0 */]
  415. 00000420  2D48 FFF8                move.l     [A6 - 0x8], A0
  416. 00000424  6008                     bra        +0xA /* 0000042E */
  417. label00000426:
  418. 00000426  41FA 026E                lea.l      A0, [PC + 0x26E /* 00000696, value 0x4E56FFF0 */]
  419. 0000042A  2D48 FFF8                move.l     [A6 - 0x8], A0
  420. label0000042E:
  421. 0000042E  3F3C ABCA                move.w     -[A7], 0xABCA
  422. 00000432  4EBA FF10                jsr        [PC - 0xF0 /* 00000344 */]
  423. 00000436  4A40                     tst.w      D0
  424. 00000438  548F                     addq.l     A7, 2
  425. 0000043A  6712                     beq        +0x14 /* 0000044E */
  426. 0000043C  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  427. 00000440  487A 001E                pea.l      [PC + 0x1E /* 00000460, value 0x4E56FFFC */]
  428. 00000444  486E FFF4                pea.l      [A6 - 0xC]
  429. 00000448  42A7                     clr.l      -[A7]
  430. 0000044A  ABCA                     syscall    DeviceLoop
  431. 0000044C  600E                     bra        +0x10 /* 0000045C */
  432. label0000044E:
  433. 0000044E  4878 0001                push.l     0x1
  434. 00000452  42A7                     clr.l      -[A7]
  435. 00000454  486E FFF4                pea.l      [A6 - 0xC]
  436. 00000458  4EBA 0006                jsr        [PC + 0x6 /* 00000460 */]
  437. label0000045C:
  438. 0000045C  4E5E                     unlink     A6
  439. 0000045E  4E75                     rts
  440. fn00000460:
  441. 00000460  4E56 FFFC                link       A6, -0x0004
  442. 00000464  48E7 0110                movem.l    -[A7], D7,A3
  443. 00000468  266E 0008                movea.l    A3, [A6 + 0x8]
  444. 0000046C  A89E                     syscall    PenNormal
  445. 0000046E  4878 001E                push.l     0x1E
  446. 00000472  A863                     syscall    BackColor
  447. 00000474  486E FFFC                pea.l      [A6 - 0x4]
  448. 00000478  A874                     syscall    GetPort
  449. 0000047A  206E FFFC                movea.l    A0, [A6 - 0x4]
  450. 0000047E  4A28 0006                tst.b      [A0 + 0x6]
  451. 00000482  6A08                     bpl        +0xA /* 0000048C */
  452. 00000484  0C6E 0008 0012           cmpi.w     [A6 + 0x12], 0x8
  453. 0000048A  6C04                     bge        +0x6 /* 00000490 */
  454. label0000048C:
  455. 0000048C  7E00                     moveq.l    D7, 0x00
  456. 0000048E  6002                     bra        +0x4 /* 00000492 */
  457. label00000490:
  458. 00000490  7E01                     moveq.l    D7, 0x01
  459. label00000492:
  460. 00000492  4A47                     tst.w      D7
  461. 00000494  670E                     beq        +0x10 /* 000004A4 */
  462. 00000496  2F3C 0014 0001           move.l     -[A7], 0x140001
  463. 0000049C  4EBA 048A                jsr        [PC + 0x48A /* 00000928 */]
  464. 000004A0  3E00                     move.w     D7, D0
  465. 000004A2  588F                     addq.l     A7, 4
  466. label000004A4:
  467. 000004A4  4878 0021                push.l     0x21 /* '!' */
  468. 000004A8  A862                     syscall    ForeColor
  469. 000004AA  3F2B 000A                move.w     -[A7], [A3 + 0xA]
  470. 000004AE  3F07                     move.w     -[A7], D7
  471. 000004B0  3F2B 0008                move.w     -[A7], [A3 + 0x8]
  472. 000004B4  2F13                     move.l     -[A7], [A3]
  473. 000004B6  206B 0004                movea.l    A0, [A3 + 0x4]
  474. 000004BA  4E90                     jsr        [A0]
  475. 000004BC  4CEE 0880 FFF4           movem.l    D7,A3, [A6 - 0xC]
  476. 000004C2  4E5E                     unlink     A6
  477. 000004C4  205F                     movea.l    A0, [A7]+
  478. 000004C6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  479. 000004CA  4ED0                     jmp        [A0]
  480. 000004CC  4E56 0000                link       A6, 0
  481. 000004D0  48E7 0330                movem.l    -[A7], D6,D7,A2,A3
  482. 000004D4  246E 0008                movea.l    A2, [A6 + 0x8]
  483. 000004D8  3E2E 000E                move.w     D7, [A6 + 0xE]
  484. 000004DC  47EA 0008                lea.l      A3, [A2 + 0x8]
  485. 000004E0  4A47                     tst.w      D7
  486. 000004E2  660E                     bne        +0x10 /* 000004F2 */
  487. 000004E4  4A2A 0011                tst.b      [A2 + 0x11]
  488. 000004E8  6708                     beq        +0xA /* 000004F2 */
  489. 000004EA  0C2A 00FE 0011           cmpi.b     [A2 + 0x11], 0xFE
  490. 000004F0  6536                     bcs        +0x38 /* 00000528 */
  491. label000004F2:
  492. 000004F2  0C2A 00FE 0011           cmpi.b     [A2 + 0x11], 0xFE
  493. 000004F8  54C0                     scc        D0
  494. 000004FA  4400                     neg.b      D0
  495. 000004FC  4880                     ext.w      D0
  496. 000004FE  3F00                     move.w     -[A7], D0
  497. 00000500  4A2A 0011                tst.b      [A2 + 0x11]
  498. 00000504  6708                     beq        +0xA /* 0000050E */
  499. 00000506  0C2A 00FE 0011           cmpi.b     [A2 + 0x11], 0xFE
  500. 0000050C  6504                     bcs        +0x6 /* 00000512 */
  501. label0000050E:
  502. 0000050E  7000                     moveq.l    D0, 0x00
  503. 00000510  6002                     bra        +0x4 /* 00000514 */
  504. label00000512:
  505. 00000512  7001                     moveq.l    D0, 0x01
  506. label00000514:
  507. 00000514  3F00                     move.w     -[A7], D0
  508. 00000516  3F07                     move.w     -[A7], D7
  509. 00000518  487A 0824                pea.l      [PC + 0x824 /* 00000D3E, value 0x4E560000 'NV\0\0' */]
  510. 0000051C  2F0B                     move.l     -[A7], A3
  511. 0000051E  4EBA 061A                jsr        [PC + 0x61A /* 00000B3A */]
  512. 00000522  3E00                     move.w     D7, D0
  513. 00000524  4FEF 000E                lea.l      A7, [A7 + 0xE]
  514. label00000528:
  515. 00000528  4A47                     tst.w      D7
  516. 0000052A  6712                     beq        +0x14 /* 0000053E */
  517. 0000052C  4A2A 0011                tst.b      [A2 + 0x11]
  518. 00000530  670C                     beq        +0xE /* 0000053E */
  519. 00000532  0C2A 00FE 0011           cmpi.b     [A2 + 0x11], 0xFE
  520. 00000538  6404                     bcc        +0x6 /* 0000053E */
  521. 0000053A  7001                     moveq.l    D0, 0x01
  522. 0000053C  6002                     bra        +0x4 /* 00000540 */
  523. label0000053E:
  524. 0000053E  7000                     moveq.l    D0, 0x00
  525. label00000540:
  526. 00000540  3C00                     move.w     D6, D0
  527. 00000542  4267                     clr.w      -[A7]
  528. 00000544  3F06                     move.w     -[A7], D6
  529. 00000546  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  530. 0000054A  2F0A                     move.l     -[A7], A2
  531. 0000054C  4EBA 01FC                jsr        [PC + 0x1FC /* 0000074A */]
  532. 00000550  4A47                     tst.w      D7
  533. 00000552  4FEF 000A                lea.l      A7, [A7 + 0xA]
  534. 00000556  6624                     bne        +0x26 /* 0000057C */
  535. 00000558  4A2A 0011                tst.b      [A2 + 0x11]
  536. 0000055C  671E                     beq        +0x20 /* 0000057C */
  537. 0000055E  0C2A 00FE 0011           cmpi.b     [A2 + 0x11], 0xFE
  538. 00000564  6416                     bcc        +0x18 /* 0000057C */
  539. 00000566  2F3C 0001 0000           move.l     -[A7], 0x10000
  540. 0000056C  4267                     clr.w      -[A7]
  541. 0000056E  487A 07CE                pea.l      [PC + 0x7CE /* 00000D3E, value 0x4E560000 'NV\0\0' */]
  542. 00000572  2F0B                     move.l     -[A7], A3
  543. 00000574  4EBA 05C4                jsr        [PC + 0x5C4 /* 00000B3A */]
  544. 00000578  4FEF 000E                lea.l      A7, [A7 + 0xE]
  545. label0000057C:
  546. 0000057C  4CDF 0CC0                movem.l    D6,D7,A2,A3, [A7]+
  547. 00000580  4E5E                     unlink     A6
  548. 00000582  4E75                     rts
  549. 00000584  4E56 FFF0                link       A6, -0x0010
  550. 00000588  48E7 0710                movem.l    -[A7], D5,D6,D7,A3
  551. 0000058C  266E 0008                movea.l    A3, [A6 + 0x8]
  552. 00000590  3A2E 000E                move.w     D5, [A6 + 0xE]
  553. 00000594  0C6E 000B 0010           cmpi.w     [A6 + 0x10], 0xB
  554. 0000059A  6712                     beq        +0x14 /* 000005AE */
  555. 0000059C  4878 0001                push.l     0x1
  556. 000005A0  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  557. 000005A4  2F0B                     move.l     -[A7], A3
  558. 000005A6  4EBA 01A2                jsr        [PC + 0x1A2 /* 0000074A */]
  559. 000005AA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  560. label000005AE:
  561. 000005AE  486E FFF0                pea.l      [A6 - 0x10]
  562. 000005B2  2F0B                     move.l     -[A7], A3
  563. 000005B4  4EBA 04AC                jsr        [PC + 0x4AC /* 00000A62 */]
  564. 000005B8  0C2B 00FE 0011           cmpi.b     [A3 + 0x11], 0xFE
  565. 000005BE  54C0                     scc        D0
  566. 000005C0  4400                     neg.b      D0
  567. 000005C2  4880                     ext.w      D0
  568. 000005C4  3E80                     move.w     [A7], D0
  569. 000005C6  4A2B 0011                tst.b      [A3 + 0x11]
  570. 000005CA  6708                     beq        +0xA /* 000005D4 */
  571. 000005CC  0C2B 00FE 0011           cmpi.b     [A3 + 0x11], 0xFE
  572. 000005D2  6504                     bcs        +0x6 /* 000005D8 */
  573. label000005D4:
  574. 000005D4  7000                     moveq.l    D0, 0x00
  575. 000005D6  6002                     bra        +0x4 /* 000005DA */
  576. label000005D8:
  577. 000005D8  7001                     moveq.l    D0, 0x01
  578. label000005DA:
  579. 000005DA  3F00                     move.w     -[A7], D0
  580. 000005DC  3F05                     move.w     -[A7], D5
  581. 000005DE  487A 0730                pea.l      [PC + 0x730 /* 00000D10, value 0x4E56FFFC */]
  582. 000005E2  486E FFF0                pea.l      [A6 - 0x10]
  583. 000005E6  4EBA 0552                jsr        [PC + 0x552 /* 00000B3A */]
  584. 000005EA  3A00                     move.w     D5, D0
  585. 000005EC  4A6B 0012                tst.w      [A3 + 0x12]
  586. 000005F0  4FEF 0014                lea.l      A7, [A7 + 0x14]
  587. 000005F4  6700 0098                beq        +0x9A /* 0000068E */
  588. 000005F8  4A45                     tst.w      D5
  589. 000005FA  674E                     beq        +0x50 /* 0000064A */
  590. 000005FC  0C2B 00FE 0011           cmpi.b     [A3 + 0x11], 0xFE
  591. 00000602  6446                     bcc        +0x48 /* 0000064A */
  592. 00000604  1E2B 0011                move.b     D7, [A3 + 0x11]
  593. 00000608  4A07                     tst.b      D7
  594. 0000060A  6706                     beq        +0x8 /* 00000612 */
  595. 0000060C  0C07 00FE                cmpi.b     D7, 0xFE
  596. 00000610  6504                     bcs        +0x6 /* 00000616 */
  597. label00000612:
  598. 00000612  7C00                     moveq.l    D6, 0x00
  599. 00000614  6002                     bra        +0x4 /* 00000618 */
  600. label00000616:
  601. 00000616  7C01                     moveq.l    D6, 0x01
  602. label00000618:
  603. 00000618  302E FFF0                move.w     D0, [A6 - 0x10]
  604. 0000061C  D046                     add.w      D0, D6
  605. 0000061E  5240                     addq.w     D0, 1
  606. 00000620  3D40 FFF8                move.w     [A6 - 0x8], D0
  607. 00000624  302E FFF4                move.w     D0, [A6 - 0xC]
  608. 00000628  D046                     add.w      D0, D6
  609. 0000062A  5540                     subq.w     D0, 2
  610. 0000062C  3D40 FFFC                move.w     [A6 - 0x4], D0
  611. 00000630  302E FFF2                move.w     D0, [A6 - 0xE]
  612. 00000634  D046                     add.w      D0, D6
  613. 00000636  5240                     addq.w     D0, 1
  614. 00000638  3D40 FFFA                move.w     [A6 - 0x6], D0
  615. 0000063C  302E FFF6                move.w     D0, [A6 - 0xA]
  616. 00000640  D046                     add.w      D0, D6
  617. 00000642  5540                     subq.w     D0, 2
  618. 00000644  3D40 FFFE                move.w     [A6 - 0x2], D0
  619. 00000648  600C                     bra        +0xE /* 00000656 */
  620. label0000064A:
  621. 0000064A  2D6E FFF0 FFF8           move.l     [A6 - 0x8], [A6 - 0x10]
  622. 00000650  2D6E FFF4 FFFC           move.l     [A6 - 0x4], [A6 - 0xC]
  623. label00000656:
  624. 00000656  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  625. 0000065A  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  626. 0000065E  A893                     syscall    MoveTo
  627. 00000660  70FF                     moveq.l    D0, 0xFFFFFFFF
  628. 00000662  D06E FFFE                add.w      D0, [A6 - 0x2]
  629. 00000666  3F00                     move.w     -[A7], D0
  630. 00000668  70FF                     moveq.l    D0, 0xFFFFFFFF
  631. 0000066A  D06E FFFC                add.w      D0, [A6 - 0x4]
  632. 0000066E  3F00                     move.w     -[A7], D0
  633. 00000670  A891                     syscall    LineTo
  634. 00000672  70FF                     moveq.l    D0, 0xFFFFFFFF
  635. 00000674  D06E FFFE                add.w      D0, [A6 - 0x2]
  636. 00000678  3F00                     move.w     -[A7], D0
  637. 0000067A  3F2E FFF8                move.w     -[A7], [A6 - 0x8]
  638. 0000067E  A893                     syscall    MoveTo
  639. 00000680  3F2E FFFA                move.w     -[A7], [A6 - 0x6]
  640. 00000684  70FF                     moveq.l    D0, 0xFFFFFFFF
  641. 00000686  D06E FFFC                add.w      D0, [A6 - 0x4]
  642. 0000068A  3F00                     move.w     -[A7], D0
  643. 0000068C  A891                     syscall    LineTo
  644. label0000068E:
  645. 0000068E  4CDF 08E0                movem.l    D5,D6,D7,A3, [A7]+
  646. 00000692  4E5E                     unlink     A6
  647. 00000694  4E75                     rts
  648. 00000696  4E56 FFF0                link       A6, -0x0010
  649. 0000069A  48E7 0110                movem.l    -[A7], D7,A3
  650. 0000069E  266E 0008                movea.l    A3, [A6 + 0x8]
  651. 000006A2  0C6E 000B 0010           cmpi.w     [A6 + 0x10], 0xB
  652. 000006A8  6712                     beq        +0x14 /* 000006BC */
  653. 000006AA  4878 0001                push.l     0x1
  654. 000006AE  3F2E 000C                move.w     -[A7], [A6 + 0xC]
  655. 000006B2  2F0B                     move.l     -[A7], A3
  656. 000006B4  4EBA 0094                jsr        [PC + 0x94 /* 0000074A */]
  657. 000006B8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  658. label000006BC:
  659. 000006BC  486E FFF0                pea.l      [A6 - 0x10]
  660. 000006C0  2F0B                     move.l     -[A7], A3
  661. 000006C2  4EBA 039E                jsr        [PC + 0x39E /* 00000A62 */]
  662. 000006C6  0C2B 00FE 0011           cmpi.b     [A3 + 0x11], 0xFE
  663. 000006CC  54C0                     scc        D0
  664. 000006CE  4400                     neg.b      D0
  665. 000006D0  4880                     ext.w      D0
  666. 000006D2  3E80                     move.w     [A7], D0
  667. 000006D4  0C2B 000B 0011           cmpi.b     [A3 + 0x11], 0xB
  668. 000006DA  57C0                     seq        D0
  669. 000006DC  4400                     neg.b      D0
  670. 000006DE  4880                     ext.w      D0
  671. 000006E0  3F00                     move.w     -[A7], D0
  672. 000006E2  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  673. 000006E6  487A 05FA                pea.l      [PC + 0x5FA /* 00000CE2, value 0x4E56FFFC */]
  674. 000006EA  486E FFF0                pea.l      [A6 - 0x10]
  675. 000006EE  4EBA 044A                jsr        [PC + 0x44A /* 00000B3A */]
  676. 000006F2  4A6B 0012                tst.w      [A3 + 0x12]
  677. 000006F6  4FEF 0014                lea.l      A7, [A7 + 0x14]
  678. 000006FA  6746                     beq        +0x48 /* 00000742 */
  679. 000006FC  4A6E 000E                tst.w      [A6 + 0xE]
  680. 00000700  6708                     beq        +0xA /* 0000070A */
  681. 00000702  0C2B 000B 0011           cmpi.b     [A3 + 0x11], 0xB
  682. 00000708  6704                     beq        +0x6 /* 0000070E */
  683. label0000070A:
  684. 0000070A  7E00                     moveq.l    D7, 0x00
  685. 0000070C  6002                     bra        +0x4 /* 00000710 */
  686. label0000070E:
  687. 0000070E  7E01                     moveq.l    D7, 0x01
  688. label00000710:
  689. 00000710  302E FFF2                move.w     D0, [A6 - 0xE]
  690. 00000714  D047                     add.w      D0, D7
  691. 00000716  5640                     addq.w     D0, 3
  692. 00000718  3D40 FFFA                move.w     [A6 - 0x6], D0
  693. 0000071C  70FD                     moveq.l    D0, 0xFFFFFFFD
  694. 0000071E  D06E FFF6                add.w      D0, [A6 - 0xA]
  695. 00000722  3D40 FFFE                move.w     [A6 - 0x2], D0
  696. 00000726  302E FFF0                move.w     D0, [A6 - 0x10]
  697. 0000072A  D047                     add.w      D0, D7
  698. 0000072C  5640                     addq.w     D0, 3
  699. 0000072E  3D40 FFF8                move.w     [A6 - 0x8], D0
  700. 00000732  70FD                     moveq.l    D0, 0xFFFFFFFD
  701. 00000734  D06E FFF4                add.w      D0, [A6 - 0xC]
  702. 00000738  3D40 FFFC                move.w     [A6 - 0x4], D0
  703. 0000073C  486E FFF8                pea.l      [A6 - 0x8]
  704. 00000740  A8B8                     syscall    PaintOval
  705. label00000742:
  706. 00000742  4CDF 0880                movem.l    D7,A3, [A7]+
  707. 00000746  4E5E                     unlink     A6
  708. 00000748  4E75                     rts
  709. fn0000074A:
  710. 0000074A  4E56 FFE6                link       A6, -0x001A
  711. 0000074E  48E7 1F10                movem.l    -[A7], D3,D4,D5,D6,D7,A3
  712. 00000752  266E 0008                movea.l    A3, [A6 + 0x8]
  713. 00000756  7E00                     moveq.l    D7, 0x00
  714. 00000758  0C2B 00FE 0011           cmpi.b     [A3 + 0x11], 0xFE
  715. 0000075E  6518                     bcs        +0x1A /* 00000778 */
  716. 00000760  3F3C ABCA                move.w     -[A7], 0xABCA
  717. 00000764  4EBA FBDE                jsr        [PC - 0x422 /* 00000344 */]
  718. 00000768  4A40                     tst.w      D0
  719. 0000076A  548F                     addq.l     A7, 2
  720. 0000076C  6708                     beq        +0xA /* 00000776 */
  721. 0000076E  3F3C 0031                move.w     -[A7], 0x31 /* '1' */
  722. 00000772  A889                     syscall    TextMode
  723. 00000774  6002                     bra        +0x4 /* 00000778 */
  724. label00000776:
  725. 00000776  7E01                     moveq.l    D7, 0x01
  726. label00000778:
  727. 00000778  486E FFE8                pea.l      [A6 - 0x18]
  728. 0000077C  A88B                     syscall    GetFontInfo
  729. 0000077E  3C2E FFEA                move.w     D6, [A6 - 0x16]
  730. 00000782  DC6E FFE8                add.w      D6, [A6 - 0x18]
  731. 00000786  DC6E FFEE                add.w      D6, [A6 - 0x12]
  732. 0000078A  3A2B 000C                move.w     D5, [A3 + 0xC]
  733. 0000078E  9A6B 0008                sub.w      D5, [A3 + 0x8]
  734. 00000792  2005                     move.l     D0, D5
  735. 00000794  48C0                     ext.l      D0
  736. 00000796  81FC 0002                divs.w     D0, 0x2
  737. 0000079A  D06B 0008                add.w      D0, [A3 + 0x8]
  738. 0000079E  3800                     move.w     D4, D0
  739. 000007A0  0805 0000                btst.b     D5, 0x0
  740. 000007A4  6710                     beq        +0x12 /* 000007B6 */
  741. 000007A6  4A6E 000C                tst.w      [A6 + 0xC]
  742. 000007AA  6708                     beq        +0xA /* 000007B4 */
  743. 000007AC  0C6E 0007 000C           cmpi.w     [A6 + 0xC], 0x7
  744. 000007B2  6602                     bne        +0x4 /* 000007B6 */
  745. label000007B4:
  746. 000007B4  5244                     addq.w     D4, 1
  747. label000007B6:
  748. 000007B6  4267                     clr.w      -[A7]
  749. 000007B8  486B 0028                pea.l      [A3 + 0x28]
  750. 000007BC  A88C                     syscall    StringWidth
  751. 000007BE  3A1F                     move.w     D5, [A7]+
  752. 000007C0  4A6E 0010                tst.w      [A6 + 0x10]
  753. 000007C4  6720                     beq        +0x22 /* 000007E6 */
  754. 000007C6  4267                     clr.w      -[A7]
  755. 000007C8  3EB8 0BAC                move.w     [A7], [0x00000BAC /* TESysJust */]
  756. 000007CC  0C5F FFFF                cmpi.w     [A7]+, 0xFFFF
  757. 000007D0  660C                     bne        +0xE /* 000007DE */
  758. 000007D2  362B 000E                move.w     D3, [A3 + 0xE]
  759. 000007D6  9645                     sub.w      D3, D5
  760. 000007D8  0643 FFEE                addi.w     D3, 0xFFEE
  761. 000007DC  602E                     bra        +0x30 /* 0000080C */
  762. label000007DE:
  763. 000007DE  7612                     moveq.l    D3, 0x12
  764. 000007E0  D66B 000A                add.w      D3, [A3 + 0xA]
  765. 000007E4  6026                     bra        +0x28 /* 0000080C */
  766. label000007E6:
  767. 000007E6  362B 000A                move.w     D3, [A3 + 0xA]
  768. 000007EA  302B 000E                move.w     D0, [A3 + 0xE]
  769. 000007EE  9043                     sub.w      D0, D3
  770. 000007F0  48C0                     ext.l      D0
  771. 000007F2  81FC 0002                divs.w     D0, 0x2
  772. 000007F6  D043                     add.w      D0, D3
  773. 000007F8  3D40 FFE6                move.w     [A6 - 0x1A], D0
  774. 000007FC  2205                     move.l     D1, D5
  775. 000007FE  48C1                     ext.l      D1
  776. 00000800  83FC 0002                divs.w     D1, 0x2
  777. 00000804  9041                     sub.w      D0, D1
  778. 00000806  D06E 000E                add.w      D0, [A6 + 0xE]
  779. 0000080A  3600                     move.w     D3, D0
  780. label0000080C:
  781. 0000080C  3F03                     move.w     -[A7], D3
  782. 0000080E  2006                     move.l     D0, D6
  783. 00000810  48C0                     ext.l      D0
  784. 00000812  81FC 0002                divs.w     D0, 0x2
  785. 00000816  3204                     move.w     D1, D4
  786. 00000818  9240                     sub.w      D1, D0
  787. 0000081A  D26E FFE8                add.w      D1, [A6 - 0x18]
  788. 0000081E  D26E 000E                add.w      D1, [A6 + 0xE]
  789. 00000822  3F01                     move.w     -[A7], D1
  790. 00000824  A893                     syscall    MoveTo
  791. 00000826  486B 0028                pea.l      [A3 + 0x28]
  792. 0000082A  A884                     syscall    DrawString
  793. 0000082C  3F3C 0001                move.w     -[A7], 0x1
  794. 00000830  A889                     syscall    TextMode
  795. 00000832  4A47                     tst.w      D7
  796. 00000834  674A                     beq        +0x4C /* 00000880 */
  797. 00000836  2D6B 0008 FFF8           move.l     [A6 - 0x8], [A3 + 0x8]
  798. 0000083C  2D6B 000C FFFC           move.l     [A6 - 0x4], [A3 + 0xC]
  799. 00000842  486E FFF8                pea.l      [A6 - 0x8]
  800. 00000846  2F3C 0002 0002           move.l     -[A7], 0x20002
  801. 0000084C  A8A9                     syscall    InsetRect
  802. 0000084E  486E FFF8                pea.l      [A6 - 0x8]
  803. 00000852  4EBA FA70                jsr        [PC - 0x590 /* 000002C4 */]
  804. 00000856  3E00                     move.w     D7, D0
  805. 00000858  203C AA55 AA55           move.l     D0, 0xAA55AA55
  806. 0000085E  2D40 FFF4                move.l     [A6 - 0xC], D0
  807. 00000862  2D40 FFF0                move.l     [A6 - 0x10], D0
  808. 00000866  3EBC 000B                move.w     [A7], 0xB
  809. 0000086A  A89C                     syscall    PenMode
  810. 0000086C  486E FFF0                pea.l      [A6 - 0x10]
  811. 00000870  A89D                     syscall    PenPat
  812. 00000872  486E FFF8                pea.l      [A6 - 0x8]
  813. 00000876  3F07                     move.w     -[A7], D7
  814. 00000878  3F07                     move.w     -[A7], D7
  815. 0000087A  A8B1                     syscall    PaintRoundRect
  816. 0000087C  A89E                     syscall    PenNormal
  817. 0000087E  548F                     addq.l     A7, 2
  818. label00000880:
  819. 00000880  4CDF 08F8                movem.l    D3,D4,D5,D6,D7,A3, [A7]+
  820. 00000884  4E5E                     unlink     A6
  821. 00000886  4E75                     rts
  822. fn00000888:
  823. 00000888  4E56 FFFC                link       A6, -0x0004
  824. 0000088C  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  825. 00000890  4227                     clr.b      -[A7]
  826. 00000892  42A7                     clr.l      -[A7]
  827. 00000894  486E FFFC                pea.l      [A6 - 0x4]
  828. 00000898  AA42                     syscall    GetAuxWin
  829. 0000089A  4AAE FFFC                tst.l      [A6 - 0x4]
  830. 0000089E  548F                     addq.l     A7, 2
  831. 000008A0  677C                     beq        +0x7E /* 0000091E */
  832. 000008A2  206E FFFC                movea.l    A0, [A6 - 0x4]
  833. 000008A6  2050                     movea.l    A0, [A0]
  834. 000008A8  2068 0008                movea.l    A0, [A0 + 0x8]
  835. 000008AC  2650                     movea.l    A3, [A0]
  836. 000008AE  3C2B 0006                move.w     D6, [A3 + 0x6]
  837. 000008B2  BC6E 0008                cmp.w      D6, [A6 + 0x8]
  838. 000008B6  6C04                     bge        +0x6 /* 000008BC */
  839. 000008B8  7000                     moveq.l    D0, 0x00
  840. 000008BA  6064                     bra        +0x66 /* 00000920 */
  841. label000008BC:
  842. 000008BC  7800                     moveq.l    D4, 0x00
  843. 000008BE  3A04                     move.w     D5, D4
  844. 000008C0  2E05                     move.l     D7, D5
  845. 000008C2  48C7                     ext.l      D7
  846. 000008C4  E78F                     lsl        D7, 3
  847. 000008C6  6034                     bra        +0x36 /* 000008FC */
  848. label000008C8:
  849. 000008C8  45F3 780A                lea.l      A2, [A3 + D7 + 0xA]
  850. 000008CC  3612                     move.w     D3, [A2]
  851. 000008CE  4A43                     tst.w      D3
  852. 000008D0  6726                     beq        +0x28 /* 000008F8 */
  853. 000008D2  4A6A 0002                tst.w      [A2 + 0x2]
  854. 000008D6  6720                     beq        +0x22 /* 000008F8 */
  855. 000008D8  4A6A 0004                tst.w      [A2 + 0x4]
  856. 000008DC  671A                     beq        +0x1C /* 000008F8 */
  857. 000008DE  0C43 FFFF                cmpi.w     D3, 0xFFFF
  858. 000008E2  6610                     bne        +0x12 /* 000008F4 */
  859. 000008E4  0C6A FFFF 0002           cmpi.w     [A2 + 0x2], 0xFFFF
  860. 000008EA  6608                     bne        +0xA /* 000008F4 */
  861. 000008EC  0C6A FFFF 0004           cmpi.w     [A2 + 0x4], 0xFFFF
  862. 000008F2  6704                     beq        +0x6 /* 000008F8 */
  863. label000008F4:
  864. 000008F4  5244                     addq.w     D4, 1
  865. 000008F6  6008                     bra        +0xA /* 00000900 */
  866. label000008F8:
  867. 000008F8  5245                     addq.w     D5, 1
  868. 000008FA  5087                     addq.l     D7, 8
  869. label000008FC:
  870. 000008FC  BC45                     cmp.w      D6, D5
  871. 000008FE  6EC8                     bgt        -0x36 /* 000008C8 */
  872. label00000900:
  873. 00000900  4A44                     tst.w      D4
  874. 00000902  671A                     beq        +0x1C /* 0000091E */
  875. 00000904  302E 0008                move.w     D0, [A6 + 0x8]
  876. 00000908  48C0                     ext.l      D0
  877. 0000090A  E788                     lsl        D0, 3
  878. 0000090C  206E 000A                movea.l    A0, [A6 + 0xA]
  879. 00000910  20B3 080A                move.l     [A0], [A3 + D0 + 0xA]
  880. 00000914  3173 080E 0004           move.w     [A0 + 0x4], [A3 + D0 + 0xE]
  881. 0000091A  7001                     moveq.l    D0, 0x01
  882. 0000091C  6002                     bra        +0x4 /* 00000920 */
  883. label0000091E:
  884. 0000091E  7000                     moveq.l    D0, 0x00
  885. label00000920:
  886. 00000920  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  887. 00000924  4E5E                     unlink     A6
  888. 00000926  4E75                     rts
  889. fn00000928:
  890. 00000928  4E56 FFE8                link       A6, -0x0018
  891. 0000092C  607E                     bra        +0x80 /* 000009AC */
  892. 0000092E  0005 0006                ori.b      D5, 0x6
  893. 00000932  0000 0005                ori.b      D0, 0x5
  894. 00000936  0006 0005                ori.b      D6, 0x5
  895. 0000093A  0005 0006                ori.b      D5, 0x6
  896. 0000093E  0007 0005                ori.b      D7, 0x5
  897. 00000942  0006 0008                ori.b      D6, 0x8
  898. 00000946  0005 0006                ori.b      D5, 0x6
  899. 0000094A  000A 0005                ori.b      A2, 0x5
  900. 0000094E  0006 000D                ori.b      D6, 0xD /* '\r' */
  901. 00000952  0007 0008                ori.b      D7, 0x8
  902. 00000956  0000 0007                ori.b      D0, 0x7
  903. 0000095A  0008 0001                ori.b      A0, 0x1
  904. 0000095E  0007 0008                ori.b      D7, 0x8
  905. 00000962  0004 0009                ori.b      D4, 0x9 /* '\t' */
  906. 00000966  000A 0000                ori.b      A2, 0x0
  907. 0000096A  0009 000A                ori.b      A1, 0xA /* '\n' */
  908. 0000096E  0004 0009                ori.b      D4, 0x9 /* '\t' */
  909. 00000972  000A 0006                ori.b      A2, 0x6
  910. 00000976  0009 000A                ori.b      A1, 0xA /* '\n' */
  911. 0000097A  000B 0009                ori.b      A3, 0x9 /* '\t' */
  912. 0000097E  000A 000F                ori.b      A2, 0xF
  913. 00000982  0009 000A                ori.b      A1, 0xA /* '\n' */
  914. 00000986  0000 0009                ori.b      D0, 0x9 /* '\t' */
  915. 0000098A  000A 0004                ori.b      A2, 0x4
  916. 0000098E  0009 000A                ori.b      A1, 0xA /* '\n' */
  917. 00000992  0006 0009                ori.b      D6, 0x9 /* '\t' */
  918. 00000996  000A 000B                ori.b      A2, 0xB
  919. 0000099A  000B 0008                ori.b      A3, 0x8
  920. 0000099E  0000 000B                ori.b      D0, 0xB
  921. 000009A2  000C 0004                ori.b      A4, 0x4
  922. 000009A6  0007 000C                ori.b      D7, 0xC
  923. 000009AA  000F 41FA                ori.b      A7, 0xFA
  924. // begin alternate branch 000009AC-000009B0
  925. label000009AC:
  926. 000009AC  41FA FF80                lea.l      A0, [PC - 0x80 /* 0000092E, value 0x50006 */]
  927. // end alternate branch 000009AC-000009B0
  928. label000009AC: // (misaligned)
  929. 000009AE  FF80                     .extension 0xF80 // unimplemented
  930. 000009B0  43EE FFF4                lea.l      A1, [A6 - 0xC]
  931. 000009B4  2288                     move.l     [A1], A0
  932. 000009B6  046E 0010 0008           subi.w     [A6 + 0x8], 0x10
  933. 000009BC  486E FFEE                pea.l      [A6 - 0x12]
  934. 000009C0  7006                     moveq.l    D0, 0x06
  935. 000009C2  C1EE 0008                muls.w     D0, [A6 + 0x8]
  936. 000009C6  D0AE FFF4                add.l      D0, [A6 - 0xC]
  937. 000009CA  2040                     movea.l    A0, D0
  938. 000009CC  3F10                     move.w     -[A7], [A0]
  939. 000009CE  4EBA FEB8                jsr        [PC - 0x148 /* 00000888 */]
  940. 000009D2  5C8F                     addq.l     A7, 6
  941. 000009D4  4A40                     tst.w      D0
  942. 000009D6  6700 0084                beq        +0x86 /* 00000A5C */
  943. 000009DA  486E FFE8                pea.l      [A6 - 0x18]
  944. 000009DE  7006                     moveq.l    D0, 0x06
  945. 000009E0  C1EE 0008                muls.w     D0, [A6 + 0x8]
  946. 000009E4  206E FFF4                movea.l    A0, [A6 - 0xC]
  947. 000009E8  3F30 0802                move.w     -[A7], [A0 + D0 + 0x2]
  948. 000009EC  4EBA FE9A                jsr        [PC - 0x166 /* 00000888 */]
  949. 000009F0  5C8F                     addq.l     A7, 6
  950. 000009F2  4A40                     tst.w      D0
  951. 000009F4  6766                     beq        +0x68 /* 00000A5C */
  952. 000009F6  7006                     moveq.l    D0, 0x06
  953. 000009F8  C1EE 0008                muls.w     D0, [A6 + 0x8]
  954. 000009FC  206E FFF4                movea.l    A0, [A6 - 0xC]
  955. 00000A00  3D70 0804 FFF8           move.w     [A6 - 0x8], [A0 + D0 + 0x4]
  956. 00000A06  342E FFF8                move.w     D2, [A6 - 0x8]
  957. 00000A0A  48E7 0120                movem.l    -[A7], D7,A2
  958. 00000A0E  41EE FFE8                lea.l      A0, [A6 - 0x18]
  959. 00000A12  43EE FFEE                lea.l      A1, [A6 - 0x12]
  960. 00000A16  45EE FFFA                lea.l      A2, [A6 - 0x6]
  961. 00000A1A  C4FC                     mulu.w     D2, 0xFFFFFFFFFFFFFFFF
  962. 00000A1C  1111                     move.b     -[A0], [A1]
  963. 00000A1E  303C 0002                move.w     D0, 0x2
  964. label00000A22:
  965. 00000A22  7200                     moveq.l    D1, 0x00
  966. 00000A24  3218                     move.w     D1, [A0]+
  967. 00000A26  9251                     sub.w      D1, [A1]
  968. 00000A28  55C7                     scs        D7
  969. 00000A2A  6402                     bcc        +0x4 /* 00000A2E */
  970. 00000A2C  4441                     neg.w      D1
  971. label00000A2E:
  972. 00000A2E  C2C2                     mulu.w     D1, D2
  973. 00000A30  4841                     swap.w     D1
  974. 00000A32  4A07                     tst.b      D7
  975. 00000A34  6702                     beq        +0x4 /* 00000A38 */
  976. 00000A36  4481                     neg.l      D1
  977. label00000A38:
  978. 00000A38  D259                     add.w      D1, [A1]+
  979. 00000A3A  34C1                     move.w     [A2]+, D1
  980. 00000A3C  51C8 FFE4                dbf        D0, -0x1E /* 00000A22 */
  981. 00000A40  4CDF 0480                movem.l    D7,A2, [A7]+
  982. 00000A44  4A6E 000A                tst.w      [A6 + 0xA]
  983. 00000A48  6708                     beq        +0xA /* 00000A52 */
  984. 00000A4A  486E FFFA                pea.l      [A6 - 0x6]
  985. 00000A4E  AA14                     syscall    RGBForeColor
  986. 00000A50  6006                     bra        +0x8 /* 00000A58 */
  987. label00000A52:
  988. 00000A52  486E FFFA                pea.l      [A6 - 0x6]
  989. 00000A56  AA15                     syscall    RGBBackColor
  990. label00000A58:
  991. 00000A58  7001                     moveq.l    D0, 0x01
  992. 00000A5A  6002                     bra        +0x4 /* 00000A5E */
  993. label00000A5C:
  994. 00000A5C  7000                     moveq.l    D0, 0x00
  995. label00000A5E:
  996. 00000A5E  4E5E                     unlink     A6
  997. 00000A60  4E75                     rts
  998. fn00000A62:
  999. 00000A62  4E56 0000                link       A6, 0
  1000. 00000A66  48E7 0330                movem.l    -[A7], D6,D7,A2,A3
  1001. 00000A6A  246E 0008                movea.l    A2, [A6 + 0x8]
  1002. 00000A6E  266E 000C                movea.l    A3, [A6 + 0xC]
  1003. 00000A72  4267                     clr.w      -[A7]
  1004. 00000A74  3EB8 0BAC                move.w     [A7], [0x00000BAC /* TESysJust */]
  1005. 00000A78  0C5F FFFF                cmpi.w     [A7]+, 0xFFFF
  1006. 00000A7C  660C                     bne        +0xE /* 00000A8A */
  1007. 00000A7E  70F2                     moveq.l    D0, 0xFFFFFFF2
  1008. 00000A80  D06A 000E                add.w      D0, [A2 + 0xE]
  1009. 00000A84  3740 0002                move.w     [A3 + 0x2], D0
  1010. 00000A88  600A                     bra        +0xC /* 00000A94 */
  1011. label00000A8A:
  1012. 00000A8A  7002                     moveq.l    D0, 0x02
  1013. 00000A8C  D06A 000A                add.w      D0, [A2 + 0xA]
  1014. 00000A90  3740 0002                move.w     [A3 + 0x2], D0
  1015. label00000A94:
  1016. 00000A94  700C                     moveq.l    D0, 0x0C
  1017. 00000A96  D06B 0002                add.w      D0, [A3 + 0x2]
  1018. 00000A9A  3740 0006                move.w     [A3 + 0x6], D0
  1019. 00000A9E  3E2A 0008                move.w     D7, [A2 + 0x8]
  1020. 00000AA2  302A 000C                move.w     D0, [A2 + 0xC]
  1021. 00000AA6  9047                     sub.w      D0, D7
  1022. 00000AA8  48C0                     ext.l      D0
  1023. 00000AAA  81FC 0002                divs.w     D0, 0x2
  1024. 00000AAE  D047                     add.w      D0, D7
  1025. 00000AB0  3C00                     move.w     D6, D0
  1026. 00000AB2  70FA                     moveq.l    D0, 0xFFFFFFFA
  1027. 00000AB4  D046                     add.w      D0, D6
  1028. 00000AB6  3680                     move.w     [A3], D0
  1029. 00000AB8  700C                     moveq.l    D0, 0x0C
  1030. 00000ABA  D053                     add.w      D0, [A3]
  1031. 00000ABC  3740 0004                move.w     [A3 + 0x4], D0
  1032. 00000AC0  4CDF 0CC0                movem.l    D6,D7,A2,A3, [A7]+
  1033. 00000AC4  4E5E                     unlink     A6
  1034. 00000AC6  4E75                     rts
  1035. fn00000AC8:
  1036. 00000AC8  4E56 FFF8                link       A6, -0x0008
  1037. 00000ACC  2F0B                     move.l     -[A7], A3
  1038. 00000ACE  266E 0008                movea.l    A3, [A6 + 0x8]
  1039. 00000AD2  2F3C 0017 0000           move.l     -[A7], 0x170000
  1040. 00000AD8  4EBA FE4E                jsr        [PC - 0x1B2 /* 00000928 */]
  1041. 00000ADC  4A40                     tst.w      D0
  1042. 00000ADE  588F                     addq.l     A7, 4
  1043. 00000AE0  6604                     bne        +0x6 /* 00000AE6 */
  1044. 00000AE2  7000                     moveq.l    D0, 0x00
  1045. 00000AE4  604C                     bra        +0x4E /* 00000B32 */
  1046. label00000AE6:
  1047. 00000AE6  7001                     moveq.l    D0, 0x01
  1048. 00000AE8  D06B 0002                add.w      D0, [A3 + 0x2]
  1049. 00000AEC  3D40 FFFA                move.w     [A6 - 0x6], D0
  1050. 00000AF0  70FF                     moveq.l    D0, 0xFFFFFFFF
  1051. 00000AF2  D06B 0006                add.w      D0, [A3 + 0x6]
  1052. 00000AF6  3D40 FFFE                move.w     [A6 - 0x2], D0
  1053. 00000AFA  7001                     moveq.l    D0, 0x01
  1054. 00000AFC  D053                     add.w      D0, [A3]
  1055. 00000AFE  3D40 FFF8                move.w     [A6 - 0x8], D0
  1056. 00000B02  70FF                     moveq.l    D0, 0xFFFFFFFF
  1057. 00000B04  D06B 0004                add.w      D0, [A3 + 0x4]
  1058. 00000B08  3D40 FFFC                move.w     [A6 - 0x4], D0
  1059. 00000B0C  1F3C 0002                move.b     -[A7], 0x2
  1060. 00000B10  486E FFF8                pea.l      [A6 - 0x8]
  1061. 00000B14  206E 000C                movea.l    A0, [A6 + 0xC]
  1062. 00000B18  4E90                     jsr        [A0]
  1063. 00000B1A  7021                     moveq.l    D0, 0x21
  1064. 00000B1C  2E80                     move.l     [A7], D0
  1065. 00000B1E  A862                     syscall    ForeColor
  1066. 00000B20  4878 001E                push.l     0x1E
  1067. 00000B24  A863                     syscall    BackColor
  1068. 00000B26  4217                     clr.b      [A7]
  1069. 00000B28  2F0B                     move.l     -[A7], A3
  1070. 00000B2A  206E 000C                movea.l    A0, [A6 + 0xC]
  1071. 00000B2E  4E90                     jsr        [A0]
  1072. 00000B30  7001                     moveq.l    D0, 0x01
  1073. label00000B32:
  1074. 00000B32  266E FFF4                movea.l    A3, [A6 - 0xC]
  1075. 00000B36  4E5E                     unlink     A6
  1076. 00000B38  4E75                     rts
  1077. fn00000B3A:
  1078. 00000B3A  4E56 FFF8                link       A6, -0x0008
  1079. 00000B3E  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  1080. 00000B42  246E 0008                movea.l    A2, [A6 + 0x8]
  1081. 00000B46  266E 000C                movea.l    A3, [A6 + 0xC]
  1082. 00000B4A  3C2E 0010                move.w     D6, [A6 + 0x10]
  1083. 00000B4E  382E 0012                move.w     D4, [A6 + 0x12]
  1084. 00000B52  3A2E 0014                move.w     D5, [A6 + 0x14]
  1085. 00000B56  7E00                     moveq.l    D7, 0x00
  1086. 00000B58  A89E                     syscall    PenNormal
  1087. 00000B5A  4A46                     tst.w      D6
  1088. 00000B5C  6710                     beq        +0x12 /* 00000B6E */
  1089. 00000B5E  4A45                     tst.w      D5
  1090. 00000B60  670C                     beq        +0xE /* 00000B6E */
  1091. 00000B62  2F0B                     move.l     -[A7], A3
  1092. 00000B64  2F0A                     move.l     -[A7], A2
  1093. 00000B66  4EBA FF60                jsr        [PC - 0xA0 /* 00000AC8 */]
  1094. 00000B6A  6000 016C                bra        +0x16E /* 00000CD8 */
  1095. label00000B6E:
  1096. 00000B6E  4A46                     tst.w      D6
  1097. 00000B70  6704                     beq        +0x6 /* 00000B76 */
  1098. 00000B72  4A45                     tst.w      D5
  1099. 00000B74  6756                     beq        +0x58 /* 00000BCC */
  1100. label00000B76:
  1101. 00000B76  7001                     moveq.l    D0, 0x01
  1102. 00000B78  D06A 0002                add.w      D0, [A2 + 0x2]
  1103. 00000B7C  3D40 FFFA                move.w     [A6 - 0x6], D0
  1104. 00000B80  70FF                     moveq.l    D0, 0xFFFFFFFF
  1105. 00000B82  D06A 0006                add.w      D0, [A2 + 0x6]
  1106. 00000B86  3D40 FFFE                move.w     [A6 - 0x2], D0
  1107. 00000B8A  7001                     moveq.l    D0, 0x01
  1108. 00000B8C  D052                     add.w      D0, [A2]
  1109. 00000B8E  3D40 FFF8                move.w     [A6 - 0x8], D0
  1110. 00000B92  70FF                     moveq.l    D0, 0xFFFFFFFF
  1111. 00000B94  D06A 0004                add.w      D0, [A2 + 0x4]
  1112. 00000B98  3D40 FFFC                move.w     [A6 - 0x4], D0
  1113. 00000B9C  41FA 01A0                lea.l      A0, [PC + 0x1A0 /* 00000D3E, value 0x4E560000 'NV\0\0' */]
  1114. 00000BA0  B1CB                     cmpa.l     A0, A3
  1115. 00000BA2  660E                     bne        +0x10 /* 00000BB2 */
  1116. 00000BA4  4A44                     tst.w      D4
  1117. 00000BA6  6704                     beq        +0x6 /* 00000BAC */
  1118. 00000BA8  7003                     moveq.l    D0, 0x03
  1119. 00000BAA  6002                     bra        +0x4 /* 00000BAE */
  1120. label00000BAC:
  1121. 00000BAC  7002                     moveq.l    D0, 0x02
  1122. label00000BAE:
  1123. 00000BAE  1600                     move.b     D3, D0
  1124. 00000BB0  600C                     bra        +0xE /* 00000BBE */
  1125. label00000BB2:
  1126. 00000BB2  4A44                     tst.w      D4
  1127. 00000BB4  6704                     beq        +0x6 /* 00000BBA */
  1128. 00000BB6  7000                     moveq.l    D0, 0x00
  1129. 00000BB8  6002                     bra        +0x4 /* 00000BBC */
  1130. label00000BBA:
  1131. 00000BBA  7002                     moveq.l    D0, 0x02
  1132. label00000BBC:
  1133. 00000BBC  1600                     move.b     D3, D0
  1134. label00000BBE:
  1135. 00000BBE  1F03                     move.b     -[A7], D3
  1136. 00000BC0  486E FFF8                pea.l      [A6 - 0x8]
  1137. 00000BC4  4E93                     jsr        [A3]
  1138. 00000BC6  5C8F                     addq.l     A7, 6
  1139. 00000BC8  6000 0082                bra        +0x84 /* 00000C4C */
  1140. label00000BCC:
  1141. 00000BCC  7001                     moveq.l    D0, 0x01
  1142. 00000BCE  D06A 0002                add.w      D0, [A2 + 0x2]
  1143. 00000BD2  3D40 FFFA                move.w     [A6 - 0x6], D0
  1144. 00000BD6  70FF                     moveq.l    D0, 0xFFFFFFFF
  1145. 00000BD8  D06A 0006                add.w      D0, [A2 + 0x6]
  1146. 00000BDC  3D40 FFFE                move.w     [A6 - 0x2], D0
  1147. 00000BE0  7001                     moveq.l    D0, 0x01
  1148. 00000BE2  D052                     add.w      D0, [A2]
  1149. 00000BE4  3D40 FFF8                move.w     [A6 - 0x8], D0
  1150. 00000BE8  70FF                     moveq.l    D0, 0xFFFFFFFF
  1151. 00000BEA  D06A 0004                add.w      D0, [A2 + 0x4]
  1152. 00000BEE  3D40 FFFC                move.w     [A6 - 0x4], D0
  1153. 00000BF2  4A44                     tst.w      D4
  1154. 00000BF4  671C                     beq        +0x1E /* 00000C12 */
  1155. 00000BF6  2F3C 0014 0001           move.l     -[A7], 0x140001
  1156. 00000BFC  4EBA FD2A                jsr        [PC - 0x2D6 /* 00000928 */]
  1157. 00000C00  3C00                     move.w     D6, D0
  1158. 00000C02  588F                     addq.l     A7, 4
  1159. 00000C04  6746                     beq        +0x48 /* 00000C4C */
  1160. 00000C06  4227                     clr.b      -[A7]
  1161. 00000C08  486E FFF8                pea.l      [A6 - 0x8]
  1162. 00000C0C  4E93                     jsr        [A3]
  1163. 00000C0E  5C8F                     addq.l     A7, 6
  1164. 00000C10  603A                     bra        +0x3C /* 00000C4C */
  1165. label00000C12:
  1166. 00000C12  2F3C 0013 0001           move.l     -[A7], 0x130001
  1167. 00000C18  4EBA FD0E                jsr        [PC - 0x2F2 /* 00000928 */]
  1168. 00000C1C  3C00                     move.w     D6, D0
  1169. 00000C1E  588F                     addq.l     A7, 4
  1170. 00000C20  672A                     beq        +0x2C /* 00000C4C */
  1171. 00000C22  4227                     clr.b      -[A7]
  1172. 00000C24  486E FFF8                pea.l      [A6 - 0x8]
  1173. 00000C28  4E93                     jsr        [A3]
  1174. 00000C2A  2EBC 0022 0001           move.l     [A7], 0x220001
  1175. 00000C30  4EBA FCF6                jsr        [PC - 0x30A /* 00000928 */]
  1176. 00000C34  3C00                     move.w     D6, D0
  1177. 00000C36  5C8F                     addq.l     A7, 6
  1178. 00000C38  6712                     beq        +0x14 /* 00000C4C */
  1179. 00000C3A  536E FFFE                subq.w     [A6 - 0x2], 1
  1180. 00000C3E  536E FFFC                subq.w     [A6 - 0x4], 1
  1181. 00000C42  4227                     clr.b      -[A7]
  1182. 00000C44  486E FFF8                pea.l      [A6 - 0x8]
  1183. 00000C48  4E93                     jsr        [A3]
  1184. 00000C4A  5C8F                     addq.l     A7, 6
  1185. label00000C4C:
  1186. 00000C4C  4A45                     tst.w      D5
  1187. 00000C4E  6604                     bne        +0x6 /* 00000C54 */
  1188. 00000C50  4A44                     tst.w      D4
  1189. 00000C52  671C                     beq        +0x1E /* 00000C70 */
  1190. label00000C54:
  1191. 00000C54  4A45                     tst.w      D5
  1192. 00000C56  662E                     bne        +0x30 /* 00000C86 */
  1193. 00000C58  4A46                     tst.w      D6
  1194. 00000C5A  672A                     beq        +0x2C /* 00000C86 */
  1195. 00000C5C  2F3C 0011 0000           move.l     -[A7], 0x110000
  1196. 00000C62  4EBA FCC4                jsr        [PC - 0x33C /* 00000928 */]
  1197. 00000C66  3C00                     move.w     D6, D0
  1198. 00000C68  588F                     addq.l     A7, 4
  1199. 00000C6A  671A                     beq        +0x1C /* 00000C86 */
  1200. 00000C6C  7E02                     moveq.l    D7, 0x02
  1201. 00000C6E  6016                     bra        +0x18 /* 00000C86 */
  1202. label00000C70:
  1203. 00000C70  4A46                     tst.w      D6
  1204. 00000C72  6712                     beq        +0x14 /* 00000C86 */
  1205. 00000C74  4A45                     tst.w      D5
  1206. 00000C76  660E                     bne        +0x10 /* 00000C86 */
  1207. 00000C78  2F3C 0017 0000           move.l     -[A7], 0x170000
  1208. 00000C7E  4EBA FCA8                jsr        [PC - 0x358 /* 00000928 */]
  1209. 00000C82  3C00                     move.w     D6, D0
  1210. 00000C84  588F                     addq.l     A7, 4
  1211. label00000C86:
  1212. 00000C86  4A46                     tst.w      D6
  1213. 00000C88  673A                     beq        +0x3C /* 00000CC4 */
  1214. 00000C8A  4A45                     tst.w      D5
  1215. 00000C8C  6636                     bne        +0x38 /* 00000CC4 */
  1216. 00000C8E  7002                     moveq.l    D0, 0x02
  1217. 00000C90  D06A 0002                add.w      D0, [A2 + 0x2]
  1218. 00000C94  3D40 FFFA                move.w     [A6 - 0x6], D0
  1219. 00000C98  302A 0006                move.w     D0, [A2 + 0x6]
  1220. 00000C9C  D047                     add.w      D0, D7
  1221. 00000C9E  5740                     subq.w     D0, 3
  1222. 00000CA0  3D40 FFFE                move.w     [A6 - 0x2], D0
  1223. 00000CA4  7002                     moveq.l    D0, 0x02
  1224. 00000CA6  D052                     add.w      D0, [A2]
  1225. 00000CA8  3D40 FFF8                move.w     [A6 - 0x8], D0
  1226. 00000CAC  302A 0004                move.w     D0, [A2 + 0x4]
  1227. 00000CB0  D047                     add.w      D0, D7
  1228. 00000CB2  5740                     subq.w     D0, 3
  1229. 00000CB4  3D40 FFFC                move.w     [A6 - 0x4], D0
  1230. 00000CB8  1F3C 0002                move.b     -[A7], 0x2
  1231. 00000CBC  486E FFF8                pea.l      [A6 - 0x8]
  1232. 00000CC0  4E93                     jsr        [A3]
  1233. 00000CC2  5C8F                     addq.l     A7, 6
  1234. label00000CC4:
  1235. 00000CC4  4878 0021                push.l     0x21 /* '!' */
  1236. 00000CC8  A862                     syscall    ForeColor
  1237. 00000CCA  4878 001E                push.l     0x1E
  1238. 00000CCE  A863                     syscall    BackColor
  1239. 00000CD0  4227                     clr.b      -[A7]
  1240. 00000CD2  2F0A                     move.l     -[A7], A2
  1241. 00000CD4  4E93                     jsr        [A3]
  1242. 00000CD6  3006                     move.w     D0, D6
  1243. label00000CD8:
  1244. 00000CD8  4CEE 0CF8 FFDC           movem.l    D3,D4,D5,D6,D7,A2,A3, [A6 - 0x24]
  1245. 00000CDE  4E5E                     unlink     A6
  1246. 00000CE0  4E75                     rts
  1247. 00000CE2  4E56 FFFC                link       A6, -0x0004
  1248. 00000CE6  102E 000C                move.b     D0, [A6 + 0xC]
  1249. 00000CEA  670A                     beq        +0xC /* 00000CF6 */
  1250. 00000CEC  6B1E                     bmi        +0x20 /* 00000D0C */
  1251. 00000CEE  5500                     subq.b     D0, 2
  1252. 00000CF0  670C                     beq        +0xE /* 00000CFE */
  1253. 00000CF2  6A18                     bpl        +0x1A /* 00000D0C */
  1254. 00000CF4  6010                     bra        +0x12 /* 00000D06 */
  1255. label00000CF6:
  1256. 00000CF6  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1257. 00000CFA  A8B7                     syscall    FrameOval
  1258. 00000CFC  600E                     bra        +0x10 /* 00000D0C */
  1259. label00000CFE:
  1260. 00000CFE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1261. 00000D02  A8B9                     syscall    EraseOval
  1262. 00000D04  6006                     bra        +0x8 /* 00000D0C */
  1263. label00000D06:
  1264. 00000D06  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1265. 00000D0A  A8B8                     syscall    PaintOval
  1266. label00000D0C:
  1267. 00000D0C  4E5E                     unlink     A6
  1268. 00000D0E  4E75                     rts
  1269. 00000D10  4E56 FFFC                link       A6, -0x0004
  1270. 00000D14  102E 000C                move.b     D0, [A6 + 0xC]
  1271. 00000D18  670A                     beq        +0xC /* 00000D24 */
  1272. 00000D1A  6B1E                     bmi        +0x20 /* 00000D3A */
  1273. 00000D1C  5500                     subq.b     D0, 2
  1274. 00000D1E  670C                     beq        +0xE /* 00000D2C */
  1275. 00000D20  6A18                     bpl        +0x1A /* 00000D3A */
  1276. 00000D22  6010                     bra        +0x12 /* 00000D34 */
  1277. label00000D24:
  1278. 00000D24  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1279. 00000D28  A8A1                     syscall    FrameRect
  1280. 00000D2A  600E                     bra        +0x10 /* 00000D3A */
  1281. label00000D2C:
  1282. 00000D2C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1283. 00000D30  A8A3                     syscall    EraseRect
  1284. 00000D32  6006                     bra        +0x8 /* 00000D3A */
  1285. label00000D34:
  1286. 00000D34  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1287. 00000D38  A8A2                     syscall    PaintRect
  1288. label00000D3A:
  1289. 00000D3A  4E5E                     unlink     A6
  1290. 00000D3C  4E75                     rts
  1291. 00000D3E  4E56 0000                link       A6, 0
  1292. 00000D42  48E7 0110                movem.l    -[A7], D7,A3
  1293. 00000D46  266E 0008                movea.l    A3, [A6 + 0x8]
  1294. 00000D4A  2F0B                     move.l     -[A7], A3
  1295. 00000D4C  4EBA F576                jsr        [PC - 0xA8A /* 000002C4 */]
  1296. 00000D50  3E00                     move.w     D7, D0
  1297. 00000D52  102E 000C                move.b     D0, [A6 + 0xC]
  1298. 00000D56  588F                     addq.l     A7, 4
  1299. 00000D58  670E                     beq        +0x10 /* 00000D68 */
  1300. 00000D5A  6B32                     bmi        +0x34 /* 00000D8E */
  1301. 00000D5C  5700                     subq.b     D0, 3
  1302. 00000D5E  6726                     beq        +0x28 /* 00000D86 */
  1303. 00000D60  6A2C                     bpl        +0x2E /* 00000D8E */
  1304. 00000D62  5200                     addq.b     D0, 1
  1305. 00000D64  6A0C                     bpl        +0xE /* 00000D72 */
  1306. 00000D66  6014                     bra        +0x16 /* 00000D7C */
  1307. label00000D68:
  1308. 00000D68  2F0B                     move.l     -[A7], A3
  1309. 00000D6A  3F07                     move.w     -[A7], D7
  1310. 00000D6C  3F07                     move.w     -[A7], D7
  1311. 00000D6E  A8B0                     syscall    FrameRoundRect
  1312. 00000D70  601C                     bra        +0x1E /* 00000D8E */
  1313. label00000D72:
  1314. 00000D72  2F0B                     move.l     -[A7], A3
  1315. 00000D74  3F07                     move.w     -[A7], D7
  1316. 00000D76  3F07                     move.w     -[A7], D7
  1317. 00000D78  A8B2                     syscall    EraseRoundRect
  1318. 00000D7A  6012                     bra        +0x14 /* 00000D8E */
  1319. label00000D7C:
  1320. 00000D7C  2F0B                     move.l     -[A7], A3
  1321. 00000D7E  3F07                     move.w     -[A7], D7
  1322. 00000D80  3F07                     move.w     -[A7], D7
  1323. 00000D82  A8B1                     syscall    PaintRoundRect
  1324. 00000D84  6008                     bra        +0xA /* 00000D8E */
  1325. label00000D86:
  1326. 00000D86  2F0B                     move.l     -[A7], A3
  1327. 00000D88  3F07                     move.w     -[A7], D7
  1328. 00000D8A  3F07                     move.w     -[A7], D7
  1329. 00000D8C  A8B3                     syscall    InvertRoundRect
  1330. label00000D8E:
  1331. 00000D8E  4CDF 0880                movem.l    D7,A3, [A7]+
  1332. 00000D92  4E5E                     unlink     A6
  1333. 00000D94  4E75                     rts
  1334. fn00000D96:
  1335. 00000D96  225F                     movea.l    A1, [A7]+
  1336. 00000D98  121F                     move.b     D1, [A7]+
  1337. 00000D9A  301F                     move.w     D0, [A7]+
  1338. 00000D9C  4A01                     tst.b      D1
  1339. 00000D9E  6704                     beq        +0x6 /* 00000DA4 */
  1340. 00000DA0  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  1341. 00000DA2  6002                     bra        +0x4 /* 00000DA6 */
  1342. label00000DA4:
  1343. 00000DA4  A346                     syscall    GetOSTrapAddress, flags=3
  1344. label00000DA6:
  1345. 00000DA6  2E88                     move.l     [A7], A0
  1346. 00000DA8  4ED1                     jmp        [A1]
  1347. fn00000DAA:
  1348. 00000DAA  225F                     movea.l    A1, [A7]+
  1349. 00000DAC  201F                     move.l     D0, [A7]+
  1350. 00000DAE  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  1351. 00000DB4  6606                     bne        +0x8 /* 00000DBC */
  1352. 00000DB6  A055                     syscall    StripAddress
  1353. 00000DB8  2E80                     move.l     [A7], D0
  1354. 00000DBA  4ED1                     jmp        [A1]
  1355. label00000DBC:
  1356. 00000DBC  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  1357. 00000DC0  2E80                     move.l     [A7], D0
  1358. 00000DC2  4ED1                     jmp        [A1]
  1359.